<?php 
				$breadcrumb = get_breadcrumb();
				global $post;
		 		the_post(); 
		 		$post_id =  get_the_ID();
		 		$permalink = get_permalink($post_id);
				$title = get_the_title($post_id);

?>
<?php get_header();?>

	<div id="container" class="container">
		<div id="content" class="content bg_white" role="main">
			<div class = "breadcrumb_20">
					<?php echo $breadcrumb;?>	
			</div>		
			<div class = "w100 fl line-aaa"></div>		
		
			<div class = "page-center-border">			
				<div class ="page_title">
					<?php echo $title;?>
				</div>
				<div class ="clr"></div>
			
			<?php 				
				$stage = isset( $_POST['stage'] ) ?  $_POST['stage'] : 'default';
				switch ( $stage ) {
					case 'validate_form':
						validate_feedback_form();
						break;
					case 'default':
					default :
						feedback_form();
						break;			
				}						
			?>
			</div>
			<div class = "sidebar-right">
				<div class = "page_right">
					<?php get_sidebar('right');?>
				</div>
			</div>
			
		</div><!-- #content -->
	</div><!-- #container -->


<?php get_footer(); ?>
